package com.autobole.bldj.service;

import com.alibaba.fastjson.JSON;
import com.autobole.bldj.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class TestService {

    @Autowired
    SysUserMapper sysUserMapper;

    public String test1() {
        System.out.println("test1");
        System.out.println("test2");

        System.out.println("test3");
        System.out.println("test456");
        System.out.println("test78");
        System.out.println("test90");


        return "test1"+JSON.toJSONString(sysUserMapper.selectAll());
    }
}

